<div class="folder">
  <table>
    <tr>
      <th>
        Päivä
      </th>
      <th>
        Yritys
      </th>
      <th>
        Yhteyshenkilö
      </th>
    </tr>
    <%@conversations.each do |conversation| %>
      <tr>
        <td>
          <%= link_to(conversation.contacted_on.to_s, conversation_url(conversation)) %>
        </td>
        <td>
          <%= link_to(h(conversation.customer.name), conversation_customer_url(conversation)) unless conversation.customer.nil? %>
        </td>
        <td>
          <%= link_to(h(conversation.contact.full_name), conversation_contact_url(conversation)) unless conversation.contact.nil? %>
        </td>
      </tr>
    <%end %>
  </table>
</div>
<%if !@customer.nil?%>
  <%=link_to image_tag('arrow_left.png', :border => 0), customer_url(@customer) %>
<%end%>
